package com.reverse.engineering.util.core.run.enums;

/**
 * 数据库类型,Java类型,XML类型,包名对应关系
 * 
 * @author liu
 * @date 2020-08-14
 */
public enum JavaEquals {

    /***/
    LIST("List", "List", "java.util.List"),
    /***/
    ARRAYLIST("ArrayList", "ArrayList", "java.util.ArrayList"),
    /***/
    REQUEST_PARAM("RequestParam", "RequestParam", "org.springframework.web.bind.annotation.RequestParam"),
    /***/
    PATH_VARIABLE("PathVariable", "PathVariable", "org.springframework.web.bind.annotation.PathVariable");

    /**Java基础类型*/
    private String javaBase;
    /**Java类型包装类*/
    private String java;
    /**Java类型对应包名*/
    private String packageName;

    private JavaEquals(String javaBase, String java, String packageName) {
        this.javaBase = javaBase;
        this.java = java;
        this.packageName = packageName;
    }

    /**
     * 获取Java基础类型
     * 
     * @return
     */
    public String getJavaBase() {
        return javaBase;
    }

    /**
     * 设置Java基础类型
     * 
     * @param javaBase
     */
    public void setJavaBase(String javaBase) {
        this.javaBase = javaBase;
    }

    /**
     * 获取Java类型包装类
     * 
     * @return
     */
    public String getJava() {
        return java;
    }

    /**
     * 设置Java类型包装类
     * 
     * @param java
     */
    public void setJava(String java) {
        this.java = java;
    }

    /**
     * 获取Java类型对应包名
     * 
     * @return
     */
    public String getPackageName() {
        return packageName;
    }

    /**
     * 设置Java类型对应包名
     * 
     * @param packageName
     */
    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

}